home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.3 KB | 34 lines | [TEXT/GEOL] |
- Item 5175703 17-July-87 16:07
-
- From: ROSENSTEIN1 Rosenstein, Larry
-
- To: U0239 Louisiana State U Bookstore
-
- cc: MACAPP$ MacApp Interest List
-
- Sub: Response to Various Questions
-
- MacApp permits windows that are associated with the application. These are
- created by passing NIL for the document. The Conference sample program
- demonstrates this; the overview window is associated with the application and
- not any particular document.
-
- If you want the saving to happen, however, it is best to create a document
- object. That way, MacApp will take care of some of the details about saving
- it. Note that TEViews are not tied to any particular document, so if necessary
- you could create a window with a TEView and no document object.
-
- You can create these documents in a variety of places; IYourApplication would
- be one of them.
-
- You should look at the method TApplication.OpenOld to see the code necessary to
- open an existing document. (Similarly, the OpenNew method is used to create a
- new document.) You will have to make similar calls to what is found in those
- methods in order to handle these application-owned documents. Specifically,
- you have to make sure that the view and window objects are created and set up
- properly.
-
- Larry Rosenstein
-
-
-